/**
 * Copyright (c) Software Institude of PKU
 * All rights reserved. 
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 */
package edu.pku.sei.modeler.jet.model;

import java.util.ArrayList;
import java.util.List;

import edu.pku.sei.modeler.model.core.MetaClass;

/**
 * @author zl
 *
 */
public class DiagramInfo {
	private String type;
	private List<MetaClass> clsList;
	
	public DiagramInfo() {
		type = "generated";
	}
	/**
	 * @return the clsList
	 */
	public List<MetaClass> getClsList() {
		if(clsList == null) {
			clsList = new ArrayList<MetaClass>();
		}
		return clsList;
	}
	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}
}
